home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / minix / update~2.z / update~2 / README.diff < prev    next >
Encoding:
Text File  |  1989-12-27  |  7.5 KB  |  153 lines

  1. *** /source/atari/gnu/dist/gkernel/README    Fri Oct 27 01:41:58 1989
  2. --- README    Wed Dec 27 13:46:09 1989
  3. ***************
  4. *** 111,116 ****
  5. --- 111,257 ----
  6.      that comes with degas. Also, on compuserve there are many many pd degas
  7.      fonts.
  8.   
  9. + ++ cleaned up kernel/stwini.c. It is much more intutive now, compared to
  10. +    the holy mess it had become. It now correctly supports supra extended
  11. +    partitions. It also allows all combinations of controller/drive/partition
  12. +    to be used. NOTE: there are new configurable parameters (please
  13. +    carefully read the comments at the top of stwini.c).
  14. + ++ new experimental autosensing floppy driver. carefully read the comments
  15. +    at the top of kernel/stfloppy.c and utils/mkfs.c. This new version
  16. +    of mkfs must be used. The old version will not work!. Also, when
  17. +    compiling, WANTNEWFLOP *must* be defined everywhere (especially kernel/fs)
  18. + ++ added ioctls to stwini for DKGETP/OPEN/CLOSE/PART. corresponding
  19. +    changes in h/stboots and h/sgtty.h name change: FDGETP->DKGETP. New
  20. +    utilities dkinfo/dkopen/dkclose. fixed up mkfs to use ioctl(DKGETP) to
  21. +    sense media descriptor. mkinfo -a (autosensing) now seems to work fine.
  22. + ++ (11/?? - 12/26/89) lots of changes (thanks very much to Kai-Uwe for
  23. +     his excellent contributions):
  24. +     kernel/
  25. +     new/working versions of stwini and stfloppy. both are autosensing
  26. +     drivers, stwini supports removable media drives. all block device
  27. +     drivers now understand the concept of firstopen/lastclose (we
  28. +     fake it in the ram disk). soon rs232 and tty will too. this requires
  29. +     supporting changes in fs and utils too. with these new drivers
  30. +     the mkfs supplied in utils *MUST* be used. file systems made with
  31. +     the old mkfs will still work, but this compatibility will eventually
  32. +     go away (two biggest problems with the old mkfs are that it zeros
  33. +     the boot blok, and it requires the user to specify the filesystem size
  34. +     desired instead of just sensing it from the media descriptor. the
  35. +     zero'ing of boot blocks is especially a problem with floppies, as
  36. +     it becomes impossible to auto-sense them, the driver current defaults
  37. +     to single sided 9 sectors/track). the new mkfs ofcourse still accepts
  38. +     all the old mkfs's options. a few new disk utilities are also provided.
  39. +     please read the comments at the top of stwini.c and stfloppy.c
  40. +     carefully. thanks to andy michael and frans for their feed back on
  41. +     the new naming scheme for wini devices.
  42. +     fs/
  43. +     fast file system: copies directly to user buffers. this gives a
  44. +     tremendous gain in speed.
  45. +     also, WRITE_IMMED blocks are now kept around in a list, and 
  46. +     asynchrounously flushed after the reply is sent. this also helps
  47. +     the speed in some cases.
  48. +     brand new rdwrt.c, map.c: these files replace read.c and write.c.
  49. +     (mv read.c and write.c to some other dir).
  50. +     better elevator flushing. elevator flushes for sync() too.
  51. +     complete support for first open/ last close. (the upcoming V1.5 will
  52. +     only have partial support).
  53. +     bug fixes (present in all ACK versions of fs too): here is
  54. +     kai-uwe's readme:
  55. + some time ago i discovered a bug in the mm/fs interface. Namely you must have
  56. + read rights to execute a file. I found this is a conceptual problem in the
  57. + interface between mm and fs. mm does an open(name,0) and an fstat(fd) call
  58. + to check the permissions for the file. However, the open call can only succeed
  59. + if you have read rights on the file, because mm temporarily switches to the
  60. + users working directory and the users effective uid/gid.
  61. + The problem is fixed by doing a dirty trick similar to that used by mm to tell
  62. + fs the address of the data in a read/write call : pass the access bits desired
  63. + by mm directly in the open call (i use bits 12-15 for that). do_open() now
  64. + recognizes this and take those bits instead of calculating its own set of bits
  65. + from the given access mode. The read code has been modified to allow read on
  66. + a file with only the x-bit set. The user can't set this bit in the file
  67. + descriptor, so this should not do any harm.
  68. + Another problem i found was with mounted file systems : the file system gets
  69. + bus errors when crossing from the mounted file system to the mounted-on file
  70. + system and you don't have the permission to search the mount-on directory.
  71. + I found no obvious solution to this, but the bus error can be avoided by
  72. + an extension in a while condition. Ideas for soultion, anyone ? What happens
  73. + on real UNIX in this case ?
  74. + Also super.c had spurious adjustments to `bufs_in_use'. this caused me 2
  75. + sleepless nights!
  76. + sttools/
  77. +     - build.c, bootblok.*, minix.c: build no longer stores the BSS
  78. +     image in minix.img. this reduces the size of minix.img on disk
  79. +     tremendously. bootblok and minix.c adjusted to create the 
  80. +     respective BSS's and zero them when loading the image in memory.
  81. +     - gcc-as is not assembling bootblok.s correctly (thanks andy). i
  82. +     have'nt quite figured out why. in the mean while please make
  83. +     `bootblok' from bootblok.ack  with ACK C. (i have provided
  84. +     a bootblok for your convenience). (please remember this is
  85. +     a patched bootblok.ack, not same as the origionally distributed
  86. +     bootblok.ack).
  87. + tos/
  88. +     patched minix.c/fakeuinix.c. minix.c can be compiled with either
  89. +     tos-gcc or Alcyon C. a compiled minix.prg is supplied for your
  90. +     convenience.
  91. + utils/
  92. +     mkfs (as mentioned above)    *MUST* use this one
  93. +     dk*    new disk utilities.
  94. +     (tos command still to come, i have'nt had a chance to test the
  95. +     new coding with tos-hd partitions as yet)
  96. + h/
  97. +     please carefully look over const.h again.
  98. +     supporting changes
  99. + include/lib
  100. +     merged in new ansi headers posted by ast (std.h is gone!)
  101. +     stdio routines in lib completely replaced (these are smaller
  102. +     faster and more correct (especially when a file is opened for
  103. +     "w+" or "r+". they also buffer much more efficiently than
  104. +     either earl chew or norbert schelenkars versions of ansi C stdio)
  105. +     some minor bug fixes, and adjustments for new headers.
  106. +     before you mege in the new sources, in lib/
  107. +     delete the following files (you may not have all of them)
  108. +     _fopen.c    fprintf.c    stdio.h
  109. +     _slot.c        fputc.c        printf.c    stdiolib.h
  110. +     atexit.c    fputs.c        puts.c
  111. +     bitset.h    fread.c        putw.c
  112. +     exit.c        freopen.c    ungetc.c
  113. +     _allocbu.c    fclose.c    fseek.c        rewind.c    vfprintf.c
  114. +     _eprintf.c    fdopen.c    ftell.c        scanf.c        vfscanf.c
  115. +     _fakfls.c    fflush.c    fwrite.c    setbuf.c    vprintf.c
  116. +     _filbuf.c    fgetc.c        fwrite.up    setvbuf.c    vscanf.c
  117. +     _file.c        fgets.c        gets.c        sprintf.c    vsprintf.c
  118. +     _flsbuf.c    fopen.c        getw.c        stdio.c        vsscanf.c
  119. +     these are replaced by:
  120. +     atol.c        fopen.c        ftell.c        main.c        sprintf.c
  121. +     doprnt.c    fprintf.c    fungetc.c    putl.c        sscanf.c
  122. +     fclose.c    fputc.c        fwrite.c    putw.c        strdup.c
  123. +     fdopen.c    fputs.c        getbuf.c    random.c    strtol.c
  124. +     fflush.c    fread.c        getl.c        rewind.c    strtoul.c
  125. +     fgetc.c        fscanf.c    gets.c        scanf.c
  126. +     fgets.c        fseek.c        getw.c        setbuf.c
  127. +     filbuf.c    fsetpos.c    lib.h        setvbuf.c
  128. +     remove _fakls* and crt0* from $(GCCLIB)/ (normally /usr/local/lib)
  129. +     Compile the library again before building a new kernel.
  130. +     
  131.   ------------------------------------------------------------------------------
  132.   
  133.       - check config in h/const.h (also look over h/com.h
  134.